
' Copyright (c) 2015 ZZZ Projects. All rights reserved
' Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
' Website: http://www.zzzprojects.com/
' Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
' All ZZZ Projects products: Entity Framework Extensions / Bulk Operations / Extension Methods /Icon Library

Imports System.Collections

Public Module Extensions_36

    ''' <summary>
    '''     An IDictionary extension method that converts the @this to a hashtable.
    ''' </summary>
    ''' <param name="this">The @this to act on.</param>
    ''' <returns>@this as a Hashtable.</returns>
    <System.Runtime.CompilerServices.Extension> _
    Public Function ToHashtable(this As IDictionary) As Hashtable
        Return New Hashtable(this)
    End Function
End Module


